﻿using OfficeOpenXml.FormulaParsing.Excel.Functions.DateTime;
using System;
using System.Collections.Generic;
using System.Text;

namespace VOL.Core.Utilities
{
    public class CommonData
    {
        public static String yearMonthGlobals;

        public static DateTime GetCwData(String yearmonth)
        {
            yearmonth = yearmonth + "-01 00:00:00";
            DateTime date = Convert.ToDateTime(yearmonth);
            return date;
        }

        public static int getAddMonthFormat(int month)
        {
            if (month > 12)
            {
                month = month - 12;
            }
            return month;
        }
    }

}
